package diona.dao;

import org.joda.time.DateTime;

/**
 * User: anton
 * Date: 20.03.11 13:22
 */
public class SharedItem
{
    private final int id;

    private final String path;

    private final DateTime whenShared;

    private final boolean isSent;

    private final ShareType shareType;

    public SharedItem(int id, String path, DateTime whenShared, boolean sent, ShareType shareType)
    {
        this.id = id;
        this.path = path;
        this.whenShared = whenShared;
        isSent = sent;
        this.shareType = shareType;
    }

    public int getId()
    {
        return id;
    }

    public String getPath()
    {
        return path;
    }

    public DateTime getWhenShared()
    {
        return whenShared;
    }

    public boolean isSent()
    {
        return isSent;
    }

    public ShareType getShareType()
    {
        return shareType;
    }
}
